<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/update" method="post">
<table border="1" cellspacing="0">
    <tr>
        <td>ID</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>邮箱</td>
        <td>地址</td>
        <td>操作</td>
    </tr>
    <tr th:object="${user}">
        <td>
            <input type="text" name="uid" th:value="*{uid}" readonly>
        </td>
        <td>
            <input type="text" name="uname" th:value="*{uname}">
        </td>
        <td>
            <input type="text" name="age" th:value="*{age}">
        </td>
        <td>
            <input type="text" name="email" th:value="*{email}">
        </td>
        <td>
            <input type="text" name="address" th:value="*{address}">
        </td>
        <td>
            <input type="submit" value="修改">
        </td>
    </tr>
</table>
</form>
</body>
</html>